<?php
defined('IN_ADMIN') or exit('No permission resources.');
$show_header = 1;
include $this->admin_tpl('header', 'admin');
?>
<div class="pad-10">
    <table width="100%" cellspacing="0" class="table-list">
        <tbody>
            <?php
            if (is_array($forminfos_data)) {
                foreach ($forminfos_data as $key => $form) {
                    ?>   
                    <tr>
                        <td style="width:80px;text-align: right;"><?php echo $fields[$key]['name'] ?>:</td>
                        <td style="text-align: left;"><?php echo $form ?></td>
                    </tr>
                    <?php
                }
            }
            ?>
        </tbody>
    </table>
    <table width="100%" cellspacing="0" class="table-list">
        <tbody>
            <tr>
                <td style="width:80px;text-align: right;">回复部门:</td>
                <td><?php echo form::select($grouplist, empty($info['groupid']) ? $_SESSION['groupid'] : $info['groupid'], 'id="groupid"', ' ');?></td>
            </tr>
            <tr>
                <td style="width:80px;text-align: right;">回复内容:</td>
                <td style="text-align: left;">
                    <textarea name="replay" id=replay style="HEIGHT: 46px;width: 350px;"><?php echo $info['replay'] ?></textarea>
                </td>
            </tr>
        </tbody>
    </table>
</div>
</body>
</html>